home *** CD-ROM | disk | FTP | other *** search
/ SuperHack / SuperHack CD.bin / CODING / WINDOWS / PRNDLL.ZIP / FORM1.FRM (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1996-12-21  |  15.7 KB  |  92 lines

  1. Form1
  2. PrintDIB Example
  3. =dd?'d
  4. =Ed    @
  5. ???    ?
  6. dd?!d
  7. AA? A
  8. A'@+d
  9. _dd?@d.A
  10. q__? _
  11. r___q_
  12. r___q_
  13. r___    _
  14. r___q_
  15. r___    _
  16. q___*_
  17. r___q_
  18. r___q
  19. r___q_
  20. _&q(_
  21. r___q_
  22. q___r_
  23. r___q
  24. rqq_qq
  25. _    UN_
  26. quuur
  27. _uuruq
  28. r___r_qr
  29. uruu_q
  30. _    q+_
  31. __U[_
  32. 83_    8
  33. Form15G
  34. Command1
  35. Print
  36. Command1_Click
  37. pichdc
  38. picture1
  39. Image
  40. hmemdc
  41. CreateCompatibleDC
  42. mybitmapi
  43. canvas
  44. handleV
  45. create
  46. bitmap
  47.     prnbitmap
  48. HBitmap
  49. CreateCompatibleBitmap
  50. WidthO
  51. Height
  52. palettek
  53.     mypalette
  54. SelectObject
  55. SelectPalette
  56. memory
  57. BitBltC
  58. SRCCOPY
  59. Escaper
  60. startdoc
  61. Picture
  62. hpal0
  63. SendMessage
  64. colours
  65. VBM_GETPALETTE
  66. stretchedoutput
  67. form1
  68. printer
  69. NEWFRAME
  70. clean
  71. DeleteDC
  72. DeleteObject
  73. STARTDOCAPI
  74.     ENDDOCAPI
  75. sdstring
  76. strings
  77. picture2
  78. messagebox
  79. AutoRedraw
  80. GetDC
  81. pihdc
  82. Command1_Click
  83.  get the palette
  84.  get the DCp
  85. create a bitmap ... prnbitmap = HBitmap
  86.  make sure to copy the palette over.
  87.  get the bitmap into the memory DC
  88.  get the printer going
  89.  call the DLL...
  90.  tell the printer to print
  91.  clean upE
  92.